package org.synclib.model;

public class RemoveChange<T> extends AbstractChange<T> {

	public RemoveChange(String objectUUID, String propertyName, T oldValue) {
		super(objectUUID, propertyName, oldValue, null);
	}

	public void setNewValue(T newValue) {
		throw new UnsupportedOperationException(
				"The new value of a RemoveChange can only be null.");
	}

	@Override
	public T getNewValue() {
		return null;
	}
}
